from flask_wtf import Form
from wtforms import StringField,PasswordField,BooleanField,SubmitField
from wtforms.validators import Required,Length

class AdminLoginForm(Form):
    username = StringField('用户名',validators=[Required()])
    password = PasswordField('密码',validators=[Required()])

    remember_me = BooleanField('记住密码')
    submit = SubmitField('登录')
